Foxit PDF RDK
FoxitRDKNative.OpenDocumentTaskCallBack Class Reference

Defines a callback interface for handling the result of an OpenDocumentTask. More...

Public Member Functions

 constructor ()
 Constructor for the OpenDocumentTaskCallBack class. Initializes a new instance of the OpenDocumentTaskCallBack.
 
 execute (task)
 Executes the callback with the result of an OpenDocumentTask. More...
 
 result (task)
 Handles the result of a Task. More...
 

Detailed Description

Defines a callback interface for handling the result of an OpenDocumentTask.

Member Function Documentation

◆ execute()

FoxitRDKNative.OpenDocumentTaskCallBack.execute ( task  )

Executes the callback with the result of an OpenDocumentTask.

Parameters
{OpenDocumentTask}task - The OpenDocumentTask whose result is being processed. This method is called to execute the callback when the task completes.

◆ result()

FoxitRDKNative.OpenDocumentTaskCallBack.result ( task  )

Handles the result of a Task.

Parameters
{Task}task - The Task whose result is being processed. This method is a more general callback used for handling the result of any task.